E=i=>document.getElementById(i)
HTML=document.documentElement.outerHTML
_=a=>HTML.match(new RegExp('id="('+a+'\\w+)"'))[1]
//////////////////////////// hiya, I'm jan Mase! :•)
d_=E(_`d`);d=ㅤ=>d_.click() // I'm new here, so... nice to meet ya. wanna be friends?
l_=E(_`l`);l=ㅤ=>l_.click() // this is an ice breaker. Sheer personality on display.
r_=E(_`r`);r=ㅤ=>r_.click() // How about a self-assessment, too? might prove helpful.
u_=E(_`u`);u=ㅤ=>u_.click() // terse | consistent | exacting | illustrative | asinine
//////////////////////////// See you around, or not.
DO=(n,f)=>Array(n).fill(f).map(eval).filter(ㅤ=>typeof ㅤ== "function").map(ㅤ=>ㅤ())
DO(1012,'DO(14,l,DO(4,u,DO(14,r,d(DO(14,l,d(DO(14,r,d(DO(14,l,d(DO(14,r)))))))))))')
source=String.raw`
AY AX←1+5 15⊤¯1+('@'=SCREEN)⍳1 ⍝ AT
PY PX←1+5 15⊤¯1+('+'=SCREEN)⍳1 ⍝ PLUS
BY BX←1+5 15⊤¯1+('*'=SCREEN)⍳1 ⍝ BOMB
V←⍉¯1+3 3⊤0 1 2 3,¯5+⍳4 ⍝ VECTORS
N←V+(⍴V)⍴AY,AX ⍝ NEARBY
B←∧/0<N ⍝ BORDER
D←+/|((⍴A)⍴PY,PX)-A←B⌿N ⍝ DISTANCE
U←∧/((⍴A)⍴BY,BX)=A←B⌿N ⍝ UNSAFE
W←(D×0=U)+1.79E308×U ⍝ WEIGHTED
M←(<\W=⌊/W)/⍳⍴W ⍝ MIN
K←(⍳2×+/B)∊(2×M)-0 1 ⍝ KEEP
T←K/,B⌿V ⍝ TARGET
T
`
post a comment